package com.rayc.mall.item.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-23
 * @Description: es配置属性
 * @Version: 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "elasticsearch")
public class ESProperties {
    private String host;
    private int port;
    public String indexName;
}
